﻿namespace BlamanticUI.Components;

/// <summary>
/// Represents the container for responsive content.
/// </summary>
[CssClass("container")]
public class Container : BlazorChildContentComponentBase, IHasUIComponent, IHasFluid, IHasTexted, IHasHorizontalAlignment, IHasStackable
{
    /// <summary>
    /// Initializes a new instance of the <see cref="Container"/> class.
    /// </summary>
    public Container()
    {
    }

    /// <summary>
    /// Gets or sets a value indicating whether to display text properly.
    /// </summary>
    [Parameter] public bool Texted { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether this is fluid.
    /// </summary>
    /// <value>
    ///   <c>true</c> if fluid; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Fluid { get; set; }
    /// <summary>
    /// Gets or sets the horizontal alignment of text.
    /// </summary>
    [Parameter] public HorizontalAlignment? HorizontalAlignment { get; set; }
    /// <summary>
    /// Gets or sets a value indicating whether layout always stackable.
    /// </summary>
    /// <value>
    ///   <c>true</c> if stackable; otherwise, <c>false</c>.
    /// </value>
    [Parameter] public bool Stackable { get; set; }
}
